<?php
/**
*
* 功能描述（ajax动态页控制器）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*/

class CtrlAjax extends CtrlBase
{
	public $paramCheck = array(
		"comment" => array(
			"id" => array("GET", "must", "intval", "positive"),
		),
	);
	public $perms = array(
		"comment" => array(1, 255, "index.php?action=user.tologin"),
	);
	function Login()
	{
		return RT_PHP;
	}

	function Register()
	{
		return RT_PHP;
	}

	function Comment()
	{
		$_GET['id'] = $this->params['id'];
		return RT_PHP;
	}
}

